package gov.pbc.nn.kjgl.webService.endpoint;

import java.util.List;

import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlMimeType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.ws.soap.MTOM;




@XmlRootElement(name="attachment",namespace=taskEndpoint.namespace)
@XmlAccessorType(XmlAccessType.FIELD)
public class attachment {
	@XmlElement(name="attachmentName",namespace=taskEndpoint.namespace)
	private String attachmentName;
	
	@XmlElement(name="attachmentURL",namespace=taskEndpoint.namespace)
	private String attachmentURL;
	
	@XmlMimeType("application/octet-stream")
	@XmlElement(name="attachmentData",namespace=taskEndpoint.namespace)
	private DataHandler attachmentData;

	public String getAttachmentName() {
		return attachmentName;
	}

	public void setAttachmentName(String attachmentName) {
		this.attachmentName = attachmentName;
	}

	public String getAttachmentURL() {
		return attachmentURL;
	}

	public void setAttachmentURL(String attachmentURL) {
		this.attachmentURL = attachmentURL;
	}

	public DataHandler getAttachmentData() {
		return attachmentData;
	}

	public void setAttachmentData(DataHandler attachmentData) {
		this.attachmentData = attachmentData;
	}
	
	
}
